package com.five.welcome.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.time.format.DateTimeFormatter;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author ywt
 * @since 2024-07-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("welcome_announcement")
public class WelcomeAnnouncement implements Serializable {

    @TableId(value = "announcement_id", type = IdType.AUTO)
    private Integer announcementId;
    //标题
    private String title;
    //内容
    private String content;
    //发布日期
    private String publishTime;
    //修改日期
    private String updateTime;
    //作者
    private String author;
    //状态 0待审核  1已通过 2已驳回
    private Integer announcementStatus;
    //是否在主页 1是 0 不是
    private Integer onstart;

}
